/*
 * @Autor: curry
 * @Description: 
 * @Date: 2022-11-28 13:38:06
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import SellerPage from '@/views/SellerPage'
import TrendPage from '@/views/TrendPage'
import MapPage from '@/views/MapPage'
import RankPage from '@/views/RankPage'
import HotPage from '@/views/HotPage'
import StockPage from '@/views/StockPage'
import ScreenPage from '@/views/ScreenPage'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/ScreenPage'
  },
  {
    path: '/sellerpage',
    component: SellerPage
  },
  {
    path: '/trendpage',
    component: TrendPage
  },
  {
    path: '/MapPage',
    component: MapPage
  },
  {
    path: '/RankPage',
    component: RankPage
  },
  {
    path: '/HotPage',
    component: HotPage
  },
  {
    path: '/StockPage',
    component: StockPage
  },
  {
    path: '/ScreenPage',
    component: ScreenPage
  }
  
]

const router = new VueRouter({
  routes
})

export default router
